package com.yic.module.device.convert.inspectionPlanDevice;

import java.util.*;

import com.yic.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.yic.module.device.controller.admin.inspectionPlanDevice.vo.*;
import com.yic.module.device.dal.dataobject.inspectionPlanDevice.InspectionPlanDeviceDO;

/**
 * 巡检计划与设备关联 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface InspectionPlanDeviceConvert {

    InspectionPlanDeviceConvert INSTANCE = Mappers.getMapper(InspectionPlanDeviceConvert.class);

    InspectionPlanDeviceDO convert(InspectionPlanDeviceCreateReqVO bean);

    InspectionPlanDeviceDO convert(InspectionPlanDeviceUpdateReqVO bean);

    InspectionPlanDeviceRespVO convert(InspectionPlanDeviceDO bean);

    List<InspectionPlanDeviceRespVO> convertList(List<InspectionPlanDeviceDO> list);

    PageResult<InspectionPlanDeviceRespVO> convertPage(PageResult<InspectionPlanDeviceDO> page);

    List<InspectionPlanDeviceExcelVO> convertList02(List<InspectionPlanDeviceDO> list);

    List<InspectionPlanDeviceDO> convert03(List<InspectionPlanDeviceCreateReqVO> list);
}
